package com.agileplex.products.acc.results;

import java.io.PrintWriter;

/**
 * CommandNotFoundCommandResult
 *
 * @creator Rui Tang
 * @date 2008-06-22
 *
 * @LastChanged
 * @LastChangedBy $LastChangedBy: tangrui@agileplex.com $
 * @LastChangedDate $LastChangedDate: 2008-06-22 07:06:47 +0000 (Sun, 22 Jun 2008) $
 * @LastChangedRevision $LastChangedRevision: 6 $
 */
public class CommandNotFound implements ICommandResult {

    private static CommandNotFound singleton = new CommandNotFound();

    public static CommandNotFound getSingleton() {
        return singleton;
    }

    private CommandNotFound() {
    }

    public Object getInnerResult() {
        return null;
    }

    public void print(PrintWriter writer) {
    	writer.println("Command not found!");
    	writer.flush();
    }

}
